package com.wenson.behavior.templatemethod;

/**
 * @ClassName: Mammal
 * @Author: luowangcheng
 * @Date: 2024/6/15 10:52
 * @Description:
 */
public abstract class Mammal {
    public abstract void move();

    public abstract void eat();

    public final void live() {
        move();
        eat();
    }
}
